import matplotlib.pyplot as plt
import numpy as np

def draw_chessboard():
    fig, ax = plt.subplots()
    ax.set_aspect('equal')
    for i in range(9):
        ax.plot([i, i], [0, 8], color='black')
        ax.plot([0, 8], [i, i], color='black')
    plt.xlim(0, 8)
    plt.ylim(0, 8)
    plt.show()

draw_chessboard()